<!--
 * @Description: 
 * @Autor: zzj
 * @Date: 2023-07-13 17:05:57
 * @LastEditors: zzj
 * @LastEditTime: 2023-08-29 16:16:20
 * @FilePath: \vite-project\src\App.vue
-->
<template>
  <div class="box">
    <router-view></router-view>
  </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue'
import { reqLogin } from './api/user'
console.log(import.meta.env)
onMounted(() => {
  reqLogin({ username: 'admin', password: '111111' })
})
</script>

<style lang="scss" scoped>
div {
  h1 {
    color: $base-color;
  }
}
</style>
